<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>AFS Java: afsjava.Operation Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">AFS Java
   &#160;<span id="projectnumber">3.0</span>
   </div>
   <div id="projectbrief">Algorithms for Scheduling</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceafsjava.html">afsjava</a></li><li class="navelem"><a class="el" href="classafsjava_1_1_operation.html">Operation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">afsjava.Operation Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="classafsjava_1_1_operation-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abb00b6c2394f344291367bd28f112776"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#abb00b6c2394f344291367bd28f112776">Operation</a> (int jobNumber, int processTime, String workcenterID, char status, int workcenterNumber)</td></tr>
<tr class="memitem:a4f61fd0e57641fcb976dfdc0f4ab1f5c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a4f61fd0e57641fcb976dfdc0f4ab1f5c">Operation</a> ()</td></tr>
<tr class="memitem:ae1792f25fa534e75eeff61feea2e856f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#ae1792f25fa534e75eeff61feea2e856f">getJobNumber</a> ()</td></tr>
<tr class="memitem:a07f0381228227909eee5cc5d913cba70"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a07f0381228227909eee5cc5d913cba70">getProcessTime</a> ()</td></tr>
<tr class="memitem:a71a0de45fc4ebea49dc48d1451467016"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a71a0de45fc4ebea49dc48d1451467016">getStatus</a> ()</td></tr>
<tr class="memitem:aca7d417c570911f12559a9fa4b045ee4"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#aca7d417c570911f12559a9fa4b045ee4">getWorkcenterID</a> ()</td></tr>
<tr class="memitem:aa35e9af7d5e8a85a810dcc9e070b1555"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#aa35e9af7d5e8a85a810dcc9e070b1555">getWorkcenterNumber</a> ()</td></tr>
<tr class="memitem:a65489151f03a0ec2c9e951a4338560c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a65489151f03a0ec2c9e951a4338560c3">setJobNumber</a> (int jobNumber)</td></tr>
<tr class="memitem:a840e7b9cb987805b4cf52491579cf22c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a840e7b9cb987805b4cf52491579cf22c">setProcessTime</a> (int processTime)</td></tr>
<tr class="memitem:a97fd10068af75b373548f064b2855ff5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a97fd10068af75b373548f064b2855ff5">setStatus</a> (char status)</td></tr>
<tr class="memitem:a6c37d895194b86989f16a80659507856"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a6c37d895194b86989f16a80659507856">setWorkcenterID</a> (String workcenterID)</td></tr>
<tr class="memitem:a0fe345eb93ffebb6f02b99e4e28bf787"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafsjava_1_1_operation.html#a0fe345eb93ffebb6f02b99e4e28bf787">setWorkcenterNumber</a> (int workcenterNumber)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Title: AFS Java version 3.0</p>
<p>Description: Algorithms for Scheduling version Java</p>
<p>Copyright: Copyright (c) 2005</p>
<p>Company: Pylo.Uniandes.edu.co</p>
<p>Class <a class="el" href="classafsjava_1_1_operation.html">Operation</a> </p>
<p>The class <a class="el" href="classafsjava_1_1_operation.html">Operation</a> provides all the attributes defined in Lekin for an operation. Also provides the methods to read a job from the _usr.job file.</p>
<p>The attributes (members) are: <br/>
 <b> int jobNumber: </b>job number (as read). <br/>
 <b> int processTime: </b>process time of the operation. <br/>
 <b> int status: </b> operation type for sequence dependent setup times <br/>
 <b> int workcenterNumber: </b> Number of the workcenter <br/>
 <b> int workcenterID </b> String name of the workcenter <br/>
 </p>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00038">38</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abb00b6c2394f344291367bd28f112776"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">afsjava.Operation.Operation </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>jobNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>processTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>workcenterID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>workcenterNumber</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>processTime: <a class="el" href="classafsjava_1_1_operation.html">Operation</a> process time <br/>
 </td></tr>
    <tr><td class="paramname">String</td><td>workcenterID: <a class="el" href="classafsjava_1_1_workcenter.html">Workcenter</a> identifier <br/>
 </td></tr>
    <tr><td class="paramname">status,:</td><td><a class="el" href="classafsjava_1_1_machine.html">Machine</a> status <br/>
 </td></tr>
    <tr><td class="paramname">workcenterNumber,:</td><td><a class="el" href="classafsjava_1_1_workcenter.html">Workcenter</a> number <br/>
 </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00091">91</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4f61fd0e57641fcb976dfdc0f4ab1f5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">afsjava.Operation.Operation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Default Constructor </p>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00103">103</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae1792f25fa534e75eeff61feea2e856f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Operation.getJobNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get Methods Returns the job number </p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00115">115</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a07f0381228227909eee5cc5d913cba70"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Operation.getProcessTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the operation process time </p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00123">123</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a71a0de45fc4ebea49dc48d1451467016"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char afsjava.Operation.getStatus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the operation status </p>
<dl class="section return"><dt>Returns:</dt><dd>char </dd></dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00131">131</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="aca7d417c570911f12559a9fa4b045ee4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String afsjava.Operation.getWorkcenterID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the workcenter ID </p>
<dl class="section return"><dt>Returns:</dt><dd>String </dd></dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00139">139</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="aa35e9af7d5e8a85a810dcc9e070b1555"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int afsjava.Operation.getWorkcenterNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the workcenter number </p>
<dl class="section return"><dt>Returns:</dt><dd>int </dd></dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00147">147</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a65489151f03a0ec2c9e951a4338560c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Operation.setJobNumber </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>jobNumber</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set Methods Sets the operation job number </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">jobNumber</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00159">159</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a840e7b9cb987805b4cf52491579cf22c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Operation.setProcessTime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>processTime</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the operation process time </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">processingTime,:</td><td>The operation time </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00167">167</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a97fd10068af75b373548f064b2855ff5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Operation.setStatus </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the operation status </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">status,:</td><td>status (type of operation) </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00175">175</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6c37d895194b86989f16a80659507856"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Operation.setWorkcenterID </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>workcenterID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the workcenter identifier </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">workcenterID,:</td><td>The workcenter identifier </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00183">183</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a0fe345eb93ffebb6f02b99e4e28bf787"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void afsjava.Operation.setWorkcenterNumber </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>workcenterNumber</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the workcenter number </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">workcenterNumber,:</td><td>The workcenter number </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_operation_8java_source.html#l00191">191</a> of file <a class="el" href="_operation_8java_source.html">Operation.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/afsjava/<a class="el" href="_operation_8java_source.html">Operation.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jun 2 2012 08:28:19 for AFS Java by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1
</small></address>
</body>
</html>
